import Vue from 'vue'
import Router from 'vue-router'
import patientList from '../views/patient'
import Index from '@/components/index'
import dockerList from '../views/doctor'
import login from '../views/common/login'
import machineList from '../views/medicmachine'
import checkOutList from '../views/checkout'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/login',
            name: 'login',
            component: login
        },
        {
            path: '/',
            name: 'index',
            component: Index
        },
        {
            path: '/dockerList',
            name: 'dockerList',
            component: dockerList
        },
        {
            path: '/machineList',
            name: 'machineList',
            component: machineList
        },
        {
            path: '/checkOutList',
            name: 'checkOutList',
            component: checkOutList
        },
        {
            path: '/patientList',
            name: 'patientList',
            component: patientList
        },

    ]
})